package com.fram.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fram.entity.VolumeOption;

public interface VolumeOptionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(VolumeOption record);
    /**后台 增加**/
    int insertSelective(VolumeOption record);

    VolumeOption selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(VolumeOption record);

    int updateByPrimaryKey(VolumeOption record);
    //
    List<VolumeOption> listOption(@Param("questionId")Long questionId);
    
    int deleteByQuestionId(Long questionId);
}